package com.zfh.cloud.service;

import com.zfh.cloud.pojo.Order;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zfh.cloud.pojo.User;

/**
* @author 小可乐
* @description 针对表【t_order】的数据库操作Service
* @createDate 2024-09-14 13:27:23
*/
public interface OrderService extends IService<Order> {
    /**
     * 根据orderid查询user数据
     * */
    User findUserByOrderId(Long OrderId);

    /**
     * 根据userid查询order
     * */
    Order findOrderByUserId(Long userId);
}
